public class Dog implements IAnimal {

	public void Talk(){
		System.out.println("Bow");		
	}


	public boolean CouldEat(IAnimal a){
		if (a instanceof Mouse || a instanceof Cat){
			return true;}
		else {
			return false;}
	}

}

